package org.filecollector.linker;

public abstract class AbstractLoop extends Thread {
    private boolean isShouldStop = false;

    final boolean shouldStop() {
        return isShouldStop;
    }

    final void allowContinue() {
        isShouldStop = false;
    }

    public final void softTerminate() {
        isShouldStop = true;
    }
}
